<template>
  <div class="user_infor">
    <div>
      <p>登录名：</p>
      <span>sdtsdj</span>
    </div>
    <div>
      <p>用户名：</p>
      <span>sdtsdj</span>
    </div>
    <div>
      <p>昵称：</p>
      <input type="text" :value="userName" />
    </div>
    <div>
      <p>性别：</p>
      <input type="radio" name="sex" value="男" />男
      <input type="radio" name="sex" value="女" />女
    </div>
    <div class="day">
      <p>生日：</p>
      <input type="date">
    </div>
    <div class="interest">
      <p>兴趣爱好：</p>
      <input type="text" placeholder="输入你感兴趣的分类">
    </div>
    <div class="caozuo">
        <button>确定</button>
        <button @click="back()">返回</button>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      userName: 'dsa'
    }
  },
  methods: {
    back () {
      this.$router.push('/shop/my')
    }
  }
}

</script>
<style lang="less" scoped>
.user_infor {
  padding: 20px;
  font-size: 7px;
  color: rgb(172, 172, 172);
  div {
    margin: 30px;
    p {
      width: 70px;
      text-align: right;
      display: inline-block;
    }
  }
  span {
    font-weight: 600;
    color: black;
  }
  .caozuo{
      margin: 0 auto;
      height: 40px;
      button{
        width: 90px;
        height: 40px;
        margin:  0 50px;
        border: 0px;
        border-radius: 10px;
      }
  }
}
</style>
